package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class PaiDanDetail {

    @JSONField(name = "id")
    private String id;
    @JSONField(name = "nickname")
    private String nickname;
    @JSONField(name = "memberImg")
    private String memberImg;
    @JSONField(name = "area")
    private String area;
    @JSONField(name = "online")
    private Object online;
    @JSONField(name = "applyCount")
    private int applyCount;
    @JSONField(name = "content")
    private String content;
    @JSONField(name = "category")
    private String category;
    @JSONField(name = "price")
    private String price;
    @JSONField(name = "realNameAuth")
    private boolean realNameAuth;
    @JSONField(name = "faceAuth")
    private boolean faceAuth;
    @JSONField(name = "selector")
    private List<SelectorDTO> selector;
    @JSONField(name = "imgs")
    private List<String> imgs;
    @JSONField(name = "visitCount")
    private int visitCount;
    @JSONField(name = "applyBtn")
    private boolean applyBtn;
    @JSONField(name = "mid")
    private String mid;
    @JSONField(name = "address")
    private String address;
    @JSONField(name = "orderTime")
    private String orderTime;
    @JSONField(name = "beginTime")
    private String beginTime;
    @JSONField(name = "categoryId")
    private String categoryId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMemberImg() {
        return memberImg;
    }

    public void setMemberImg(String memberImg) {
        this.memberImg = memberImg;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Object getOnline() {
        return online;
    }

    public void setOnline(Object online) {
        this.online = online;
    }

    public int getApplyCount() {
        return applyCount;
    }

    public void setApplyCount(int applyCount) {
        this.applyCount = applyCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCategory() {
        return category;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public boolean isRealNameAuth() {
        return realNameAuth;
    }

    public void setRealNameAuth(boolean realNameAuth) {
        this.realNameAuth = realNameAuth;
    }

    public boolean isFaceAuth() {
        return faceAuth;
    }

    public void setFaceAuth(boolean faceAuth) {
        this.faceAuth = faceAuth;
    }

    public List<SelectorDTO> getSelector() {
        return selector;
    }

    public void setSelector(List<SelectorDTO> selector) {
        this.selector = selector;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    public int getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(int visitCount) {
        this.visitCount = visitCount;
    }

    public boolean isApplyBtn() {
        return applyBtn;
    }

    public void setApplyBtn(boolean applyBtn) {
        this.applyBtn = applyBtn;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    @NoArgsConstructor
    @Data
    public static class SelectorDTO {
        @JSONField(name = "week")
        private String week;
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "tips")
        private String tips;
        @JSONField(name = "realDate")
        private String realDate;
        @JSONField(name = "max")
        private int max;
        @JSONField(name = "status")
        private int status;
        @JSONField(name = "simpleDate")
        private String simpleDate;

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public String getRealDate() {
            return realDate;
        }

        public void setRealDate(String realDate) {
            this.realDate = realDate;
        }

        public int getMax() {
            return max;
        }

        public void setMax(int max) {
            this.max = max;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getSimpleDate() {
            return simpleDate;
        }

        public void setSimpleDate(String simpleDate) {
            this.simpleDate = simpleDate;
        }
    }
}
